'''
Created on Jan 20, 2012

@author: jonathan
'''

from Paper import Paper

from google.appengine.ext import db
from google.appengine.ext.db import polymodel
    
class PaperItem(polymodel.PolyModel):
    order = db.IntegerProperty(required=True)
    creator = db.UserProperty(required=True, auto_current_user_add=True)
    paper = db.ReferenceProperty(Paper, collection_name="items")